package com.rocksdata.mc.entity;

import java.io.Serializable;

public class SpecialtyInfo implements Serializable {
	private static final long serialVersionUID = 25574905059554468L;
	private String zydm;// 专业代码
	private String zymc; // 专业名称
	private String yxdm;
	
	public SpecialtyInfo(){}

	public String getZydm() {
		return zydm;
	}

	public void setZydm(String zydm) {
		this.zydm = zydm;
	}

	public String getZymc() {
		return zymc;
	}

	public void setZymc(String zymc) {
		this.zymc = zymc;
	}

	public String getYxdm() {
		return yxdm;
	}

	public void setYxdm(String yxdm) {
		this.yxdm = yxdm;
	}

	@Override
	public boolean equals(Object o) {
		SpecialtyInfo bean = null;
		try {
			bean = (SpecialtyInfo) o;
		} catch (Exception e) {
		}
		if (bean == null)
			return false;
		return this.zydm.equals(bean.zydm);
	}
}
